#include "pe.h"
#include <iostream>
#include <ctime>

int main()
{
    std::vector<double> datas = { 2,5,3,4,6,7,9,5,3,7,9,2 };
    double d = entropys::pe(datas, 3, 1);
    std::cout << d << '\n';
    for (int i = 0; i < 30000; i++)
        datas.push_back(i);
    time_t t = clock();
    d = entropys::pe(datas, 3, 1);
    t = clock() - t;
    std::cout << d << '\t' << t << " ms\n";
}
